#ifndef __OSA_EVENT_H__
#define __OSA_EVENT_H__

#include "osa_common.h"
#include "osa_queue.h"

#define DEFINE_OSA_EVENT_Q(event_q_name, queue_order, event_type) \
	DEFINE_OSA_QUEUE(event_q_name, queue_order, sizeof(event_type))

EXTERN_C_BLOCKSTART

#define osa_event_q_send osa_queue_push
#define osa_event_q_get osa_queue_pop
#define osa_event_q_is_full osa_queue_is_full
#define osa_event_q_is_empty osa_queue_is_empty

EXTERN_C_BLOCKEND

#endif /* __OSA_EVENT_H__ */

